import Vue from 'vue'
import ElementUI from 'element-ui'
import App from '@/App.vue'
import Api from '@/api.js'
import Router from '@/route.js'
import 'element-ui/lib/theme-chalk/index.css'


Vue.use(Router)
Vue.use(ElementUI);
Vue.use(Api, {
    baseURL: 'http://localhost:8080/api/'
})


new Vue({
    render: h => h(App),
    router: Router.create()
}).$mount('#app')